<div id="Reverting-local-changes"></div>
<div class="header">
<p>
Next: [[cvs: How to handle binary files with cvs import#How to handle binary files with cvs import|Binary files in imports]], Previous: [[cvs: Updating with the import command#Updating with the import command|Update imports]], Up: [[cvs: Tracking third-party sources#Tracking third-party sources|Tracking sources]] &nbsp; |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|</p>
</div>

----

<div id="Reverting-to-the-latest-vendor-release"></div>
=== Reverting to the latest vendor release ===

You can also revert local changes completely and return
to the latest vendor release by changing the &lsquo;head&rsquo;
revision back to the vendor branch on all files.  For
example, if you have a checked-out copy of the sources
in &lsquo;<tt>~/work.d/wdiff</tt>&rsquo;, and you want to revert to the
vendor&rsquo;s version for all the files in that directory,
you would type:

<div class="example" style="margin-left: 3.2em">
 $ cd ~/work.d/wdiff
 $ cvs admin -bWDIFF .
</div>

You must specify the &lsquo;<code>-bWDIFF</code>&rsquo; without any space
after the &lsquo;<code>-b</code>&rsquo;.  See [[cvs: admin options#admin options|admin options]].

This document was generated on <i>a sunny day</i> using [http://www.nongnu.org/texi2html/ <i>texi2html</i>].
